@echo off

cls

set MINGW=c:\mingw\bin

%MINGW%\gcc -c ..\Base.c
%MINGW%\gcc -c ..\Framebuffer.c
%MINGW%\gcc -c ..\Ray.c
%MINGW%\gcc -c ..\Sphere.c
%MINGW%\gcc -c ..\Triangle.c
%MINGW%\gcc -c ..\Vector4.c

%MINGW%\gcc -o ..\test1 ..\framebuffer_image.c Base.o Framebuffer.o Ray.o Sphere.o Triangle.o Vector4.o

pause